package com.wicket.okrframework.integration.dto.spec;

import com.wicket.okrframework.integration.dto.spec.QueryTableInfoRespDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestHeader;

@FeignClient(url = "http://47.97.158.71:8020", name = "FwTableClietn")
public interface FwTableClietn {
    @PostMapping("/table/table/fieldInfoList?tableId={id}")
    public QueryTableInfoRespDto queryTableInfo(@PathVariable("id") String id, @RequestHeader("Cookie") String cookie);
}
